<template>
	<view class='evalutealone'>
		<view class='alonetop'>
			<view class='aloneleft'>
				<image class='aloneimg' :src="data.headimgurl"></image>
				<view class='alonename'>
					<view>{{data.nickname}}</view>
					<view>
						<score size="25" :value="data.level"></score>
					</view>
				</view>
			</view>
			<view class='aloneright'>
				{{data.createtime}}
			</view>
		</view>
		<view class='userEvalute'>
			<view class='usertext'>
				{{data.content}}
			</view>
		</view>
	</view>
</template>

<script>
	import score from './score.vue';
	export default {
		components: {
			score
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.evalutealone {
		background: #fff;
		margin-top: 10upx;
		width: 94%;
		padding: 30upx 3% 0 3%;
		padding-bottom: 30upx;
	}

	.evalutealone:first-of-type {
		margin-top: 0 !important;
	}

	.alonetop {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.aloneleft {
		display: flex;
		align-items: center;
	}

	.aloneimg {
		width: 100upx;
		height: 100upx;
		border-radius: 50%;
	}

	.alonename {
		font-size: 26upx;
		margin-left: 20upx;
	}

	.aloneright {
		font-size: 24upx;
		color: #aeaeae;
	}

	.userEvalute {
		width: 90%;
		margin: 20upx 5%;
		font-size: 26upx;
	}

	.usertext {
		line-height: 40upx;
	}
</style>
